Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat(*): nouvelle version interne changelog [DS-3230] #590

Merged
merged 6 commits into from
May 17, 2023

Conversation

lab9fr
Copy link
Contributor

@lab9fr lab9fr commented Apr 19, 2023

Outil en ligne de commande pour générer un journal des modifications CHANGELOG.md à partir des balises git et de l'historique des commits.

Commande à exécuter à la racine du projet, git log est exécuté en arrière-plan afin d'analyser l'historique des commits, en lançant :

yarn changelog

Pour ajouter les commits d'une nouvelle version en préparation, renseigner le futur tag :

yarn changelog -t X.X.X

La gestion de l'affichage du changelog est présente dans le template EJS tools/classes/changelog/changelog.ejs

@lab9fr lab9fr added the ajout Nouveau composant ou modèle label Apr 19, 2023
@lab9fr lab9fr added this to the 1.9.3 milestone Apr 19, 2023
@lab9fr lab9fr self-assigned this Apr 19, 2023
@lab9fr lab9fr changed the title feat(*): nouvelle version interne changelog feat(*): nouvelle version interne changelog [DS-3230] Apr 19, 2023
Copy link
Contributor

@keryanS keryanS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ajouter changelog au release

tool/classes/changelog/commit.js Show resolved Hide resolved
package.json Outdated
@@ -85,5 +84,8 @@
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {}
"dependencies": {
"parse-github-url": "^1.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> dev_dependencies ?

@lab9fr lab9fr changed the title feat(*): nouvelle version interne changelog [DS-3230] ✨ feat(*): nouvelle version interne changelog [DS-3230] Apr 27, 2023
@lab9fr lab9fr requested a review from keryanS May 15, 2023 13:10
Copy link
Contributor

@keryanS keryanS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testé sur windows : changelog OK

@lab9fr lab9fr added the Prêt label May 16, 2023
@lab9fr lab9fr merged commit f173a77 into dev-1.9.3 May 17, 2023
@lab9fr lab9fr deleted the feat/changelog branch May 17, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ajout Nouveau composant ou modèle Prêt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants